package com.u21.a0903_onlinemusic.service;

import android.app.Application;

public class LogStat extends Application {
    private Boolean isLog;

    private Boolean isLogout = false;

    public Boolean getLogout() {
        return isLogout;
    }

    public void setLogout(Boolean logout) {
        isLogout = logout;
    }

    public Boolean getLog() {
        return isLog;
    }

    public void setLog(Boolean log) {
        isLog = log;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    private String username;

    public Boolean getIsLog() {
        return isLog;
    }

    public void setIsLog(Boolean isLog) {
        this.isLog = isLog;
    }

    @Override
    public void onCreate() {
        isLog = false;
        username = null;
        super.onCreate();
    }
}
